package com.yanfan.maintain.domain;

/**
 * @author caijinkang
 * @date 2023年03月10日 10:30
 */
public class InspectionPlanBody {
    /**
     * 任务id
     *
     * @author caijinkang
     * @date 2023/3/14 17:26
     * @param null
     * @return null
     */
    private Integer id;
    /**
     * 巡检单号
     *
     * @author caijinkang
     * @date 2023/3/10 10:31
     * @param null
     * @return null
     */
    private String number;
    /**
     * 巡检名称
     *
     * @author caijinkang
     * @date 2023/3/10 10:31
     * @param null
     * @return null
     */
    private String name;
    /**
     * 巡检规则（1、时，2、周，3、日）
     *
     * @author caijinkang
     * @date 2023/3/10 10:31
     * @param null
     * @return null
     */
    private Integer rule;
    /**
     * 巡检项数
     *
     * @author caijinkang
     * @date 2023/3/10 10:32
     * @param null
     * @return null
     */
    private Integer total;
    /**
     * 是否定期巡检（true：定期巡检，false：临时巡检）
     *
     * @author caijinkang
     * @date 2023/3/10 10:32
     * @param null
     * @return null
     */
    private boolean regular;
    /**
     * 当前页
     *
     * @author caijinkang
     * @date 2023/3/9 15:28
     * @param null
     * @return null
     */
    private Integer currPage;
    /**
     * 当前页条数
     *
     * @author caijinkang
     * @date 2023/3/9 15:29
     * @param null
     * @return null
     */
    private Integer pageSize;


    public InspectionPlanBody() {
    }

    public InspectionPlanBody(String number, String name, Integer rule, Integer total, boolean regular, Integer currPage, Integer pageSize) {
        this.number = number;
        this.name = name;
        this.rule = rule;
        this.total = total;
        this.regular = regular;
        this.currPage = currPage;
        this.pageSize = pageSize;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRule() {
        return rule;
    }

    public void setRule(Integer rule) {
        this.rule = rule;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public boolean isRegular() {
        return regular;
    }

    public void setRegular(boolean regular) {
        this.regular = regular;
    }

    public Integer getCurrPage() {
        return currPage;
    }

    public void setCurrPage(Integer currPage) {
        this.currPage = currPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Override
    public String toString() {
        return "InspectionPlanBody{" + "number='" + number + '\'' + ", name='" + name + '\'' + ", rule=" + rule + ", total=" + total + ", regular=" + regular + ", currPage=" + currPage + ", pageSize=" + pageSize + '}';
    }
}
